package com.ys.peony.model;

import java.io.Serializable;
import java.util.List;

/**
 * 列表类
 * Created by yml on 17/5/27.
 */

public class PageListResp<T> implements Serializable {
    //    {"currentPage":2,"dataList":[],"limit":10,"pageCount":0,"start":10,"total":0}

    private int currentPage;
    private int limit;
    private int pageCount;
    private int start;
    private int total;
    private List<T> dataList;

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}
